﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DSA
{
    public class DSA_Product
    {
        //ATTRIBUTES

        private double _price;
        private double _weight; // In grams or liters
        private string _name;
        private string _brand;
        private string _category;

        public string Name { get { return _name; } set { _name = value; } }
        public string Brand { get { return _brand; } set { _brand = value; } }
        public string Category { get { return _category; } set { _category = value; } }
        public double Price { get { return _price; } set { _price = value; } }
        public double Weight { get { return _weight; } set { _weight = value; } }

        //CONSTRUCTOR

        public DSA_Product () : this(0.0f, 0.0f, "name1", "brand", "category")
        {
        }
        public DSA_Product (double price, double weight, string name, string brand, string category )
        {
            _price = price;
            _weight = weight;
            _name = name;
            _brand = brand;
            _category = category;
        }

        //PUBLIC METHODS


        //PRIVATE METHODS

        private void Draw()
        {
            //The product draws itself in the map
        }
    }
}
